//
//  YLHomeButtonViewModel.m
//  YLFinanceService
//
//  Created by she1323 on 2017/8/24.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLHomeButtonViewModel.h"

@implementation YLHomeButtonViewModel

- (NSArray *)buttons
{
    if (!_buttons) {
        _buttons = @[[YLHomeButtonModel modelWithTitle:@"银来金服" backgroundImageName:@"yinLai"
                                      buttonClickBlock:^{
//                                          NSLog(@"点击了银来金服");
                                          return @"YLAboutUsViewController";
                                      }],
                     [YLHomeButtonModel modelWithTitle:@"安全保障" backgroundImageName:@"safeKeep"
                                      buttonClickBlock:^{
                                          return @"YLSafetyGuaranteeViewController";
                                      }],
                     [YLHomeButtonModel modelWithTitle:@"新手帮助" backgroundImageName:@"newHelp"
                                      buttonClickBlock:^{
                                          return @"WHShowMoreCellController";
                                      }],
                     
                     ];
    }
    return _buttons;
}

@end
